package com.shamar.blog.dao;

import com.shamar.blog.entity.BlogLabel;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BlogLabelDao {
    /**
     * 根据条件查询用户,可输入的条件有:用户名,用户状态,手机号,邮箱
     * @param blogCategoryCondition
     * @return
     */
    List<BlogLabel> queryBlogLabelListByCondition(@Param("blogLabelCondition") BlogLabel blogCategoryCondition,@Param("rowIndex") int rowIndex, @Param("pageSize") int pageSize);

    List<BlogLabel> getBlogLabelList(@Param("rowIndex") int rowIndex, @Param("pageSize") int pageSize);

    int deleteByPrimaryKey(Integer id);

    int insert(BlogLabel record);

    int insertSelective(BlogLabel record);

    BlogLabel selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(BlogLabel record);

    int updateByPrimaryKey(BlogLabel record);
}